package com.terren.spider.entity.common;

import java.util.Date;

import com.terren.spider.entity.BasicEntity;

public class SpiderLog extends BasicEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7328541761891663042L;
	
	private Integer logId;//日志编号
	private Integer entryId;//爬虫入口编号
	private Date beginTime;//爬虫开始时间
	private Date endTime;//爬虫结束时间
	private Integer links;//爬取条目数
	private Integer status;//爬虫爬取状态（0，失败或是执行中；1，成功）
	private String message;//爬取信息，主要保存出错后的异常信息
	private Long taskid;//搜索爬虫任务编号
	private String logtime;//日志记录时间
	
	public String getLogtime() {
		return logtime;
	}
	public void setLogtime(String logtime) {
		this.logtime = logtime;
	}
	public Long getTaskid() {
		return taskid;
	}
	public void setTaskid(Long long1) {
		this.taskid = long1;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Integer getLogId() {
		return logId;
	}
	public void setLogId(Integer logId) {
		this.logId = logId;
	}
	public Integer getEntryId() {
		return entryId;
	}
	public void setEntryId(Integer entryId) {
		this.entryId = entryId;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getLinks() {
		return links;
	}
	public void setLinks(Integer links) {
		this.links = links;
	}
	
}
